//
//@File    :	4.11_structur.cpp
//@Time    :	2021/08/03 17:44:19
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	a simple structure
//

#include <iostream>
struct inflatable
{
    char name[20];
    float volume;
    double price;
};

int main()
{
    using namespace std;
    inflatable guest = 
    {
        "Glorious Gloria",
        1.88,
        29.99
    };
    inflatable pal =
    {
        "Audacious Arthur",
        3.12,
        32.99
    };
       
    
    cout<<"Expand your guest list with"<<guest.name;
    cout<<" and"<<pal.name<<"!\n";
    cout<<"You can have both for $";
    cout<<guest.price+pal.price<<"!\n";
    system("pause");
    return 0;
}